package cn.kilo.domain.model.order.vo;

import cn.hutool.core.date.DateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author kilok
 * 当前订单的状态
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderStatusVO {

    private Long orderId;

    private String userId;

    private String staffName;

    private String phoneNumber;

    private String statusCode;

    private String status;

    private String start;

    private String end;

    private Integer distance;

    private String ridgepole;//第几栋

    private Long timer;

    private LocalDateTime now;

    private String orderInfo;

    private String orderInfoPicture;

    private String type;

    private Integer number;

    private String orderCode;

    private String orderNumber;

    private Integer price;

    private LocalDateTime startTime;

    private LocalDateTime endTime;




    public boolean judgeRidgepole(String ridgepole){
        return this.ridgepole.equals(ridgepole);
    }

}
